/**
 * @addtogroup brd_partition_def
 * brd_partition_def
 * @{
 */
/**
 * @file brd_partition_def.h
 * @brief 板级层分区定义
 * @note
 * @par 修改日志
 * <table>
 * <tr><th>Date <th>Version <th>Author <th>Description
 * <tr><td>2020-10-20 <td>1.0 <td>软件工程院 <td>创建初始版本
 * @copyright 杭州鸿泉物联网技术股份有限公司
 */
#ifndef _BRD_PARTITION_DEF_H_
#define _BRD_PARTITION_DEF_H_

#ifdef __cplusplus
extern "C" {
#endif

/// 分区表类型的枚举
enum Brd_TPartitionIdTag 
{
    kBrdPartitionIdBase                     = 0x00,
    kBrdPartitionIdBoot1                    = kBrdPartitionIdBase,      ///< Boot1分区
    kBrdPartitionIdBootInfo                 = 0x01,                     ///< 分区表
    kBrdPartitionIdLogo                     = 0x05,                     ///< 开机启动画面存储分区
    kBrdPartitionIdLogoBak                  = 0x85,                     ///< 开机启动画面备份分区
    kBrdPartitionIdProduct                  = 0x03,                     ///< 产品信息区
    kBrdPartitionIdProfile                  = 0x04,                     ///< 配置分区
    kBrdPartitionIdProfileBak               = 0x84,                     ///< 配置备份分区
    kBrdPartitionIdBoot2                    = 0x02,                     ///< Boot2分区
    kBrdPartitionIdBoot2Data                = 0x08,                     ///< Boot2数据区
    kBrdPartitionIdBoot2Dialog              = 0x09,                     ///< Boot2会话区
    kBrdPartitionIdAppData                  = 0x06,                     ///< 应用数据分区
    kBrdPartitionIdApp1                     = 0x07,                     ///< 应用程序1分区
    kBrdPartitionIdApp2                     = 0x87,                     ///< 应用程序2分区
    kBrdPartitionIdAppDl                    = 0x0A,                     ///< 应用程序下载分区
    kBrdPartitionIdMax,                                                 ///< 标识结束
};
typedef enum Brd_TPartitionIdTag Brd_TPartitionId;

#define BRD_PARTITION_ID_BOOT1
#define BRD_PARTITION_ID_BOOT_INFO
#define BRD_PARTITION_ID_LOGO
#define BRD_PARTITION_ID_LOGO_BAK
#define BRD_PARTITION_ID_PRODUCT
#define BRD_PARTITION_ID_PROFILE
#define BRD_PARTITION_ID_PROFILE_BAK
#define BRD_PARTITION_ID_BOOT2
#define BRD_PARTITION_ID_BOOT2_DATA
#define BRD_PARTITION_ID_BOOT2_DIALOG
#define BRD_PARTITION_ID_APP_DATA
#define BRD_PARTITION_ID_APP1
#define BRD_PARTITION_ID_APP2
#define BRD_PARTITION_ID_APP_DL

#ifdef __cplusplus
}  ///  < extern "C"
#endif

#endif // _BRD_PARTITION_DEF_H_
/**
 * @} 
 */
